import request from "../../request/request.js";

export default {
    editCart: (data) => request.post("/api/cart/edit", data),
    addCart: (data) => request.post("/api/cart/add", data),
    listCart: (data) => request.get("/api/cart/list", data),
    deleteSku: (data) => request.post("/api/cart/deleteSku", data),
    clear: (data) => request.post("/api/cart/clear", data),

    count: (data) => request.get("/api/cart/count", data),
};
